package com.kmzx.one.project.others.common;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.kmzx.one.project.config.web.Decimal2Serializer;

import java.math.BigDecimal;
import java.util.List;

public class Options {

    private List<String> idArray;

    //    private BigDecimal price;
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal currentPrice;


    //    private BigDecimal oldPrice;
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal prodPrice;


    private String combineId;

    private String combineName;

    private String id;

    private int number;

    private int kinds;

    private boolean has;

//    private int discountCate;
//
//    private BigDecimal discountNum;

    private boolean car;

    private boolean fast;

    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal beauty;

    private String rankIcon;

    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal rankPrice;

    private boolean oneValue;

    private int mini;

    private int max;

    private int innerTypes = 1;

    private int innerProds = 1;

    private int buyNum = 1 ;

    @JsonIgnore
    private int teBie;

    private boolean latest;

    private int topNum;

    private int bottomNum;

    private int maxUse;



    public BigDecimal getBeauty() {
        return beauty;
    }

    public Options setBeauty(BigDecimal beauty) {
        this.beauty = beauty;
        return this;
    }

    public boolean isFast() {
        return fast;
    }

    public Options setFast(boolean fast) {
        this.fast = fast;
        return this;
    }

    public boolean isCar() {
        return car;
    }

    public Options setCar(boolean car) {
        this.car = car;
        return this;
    }

    public List<String> getIdArray() {
        return idArray;
    }

    public Options setIdArray(List<String> idArray) {
        this.idArray = idArray;
        return this;
    }

//    public BigDecimal getPrice() {
//        return price;
//    }
//
//    public Options setPrice(BigDecimal price) {
//        this.price = price;
//        return this;
//    }

    public String getCombineId() {
        return combineId;
    }

    public Options setCombineId(String combineId) {
        this.combineId = combineId;
        return this;
    }

    public String getCombineName() {
        return combineName;
    }

    public Options setCombineName(String combineName) {
        this.combineName = combineName;
        return this;
    }

    public String getId() {
        return id;
    }

    public Options setId(String id) {
        this.id = id;
        return this;
    }

    public int getNumber() {
        return number;
    }

    public Options setNumber(int number) {
        this.number = number;
        return this;
    }

    public boolean isHas() {
        return has;
    }

    public Options setHas(boolean has) {
        this.has = has;
        return this;
    }

//    public BigDecimal getOldPrice() {
//        return oldPrice;
//    }
//
//    public Options setOldPrice(BigDecimal oldPrice) {
//        this.oldPrice = oldPrice;
//        return this;
//    }

//    public int getDiscountCate() {
//        return discountCate;
//    }
//
//    public Options setDiscountCate(int discountCate) {
//        this.discountCate = discountCate;
//        return this;
//    }
//
//    public BigDecimal getDiscountNum() {
//        return discountNum;
//    }
//
//    public Options setDiscountNum(BigDecimal discountNum) {
//        this.discountNum = discountNum;
//        return this;
//    }

    public BigDecimal getCurrentPrice() {
        return currentPrice;
    }

    public Options setCurrentPrice(BigDecimal currentPrice) {
        this.currentPrice = currentPrice;
        return this;
    }

    public BigDecimal getProdPrice() {
        return prodPrice;
    }

    public Options setProdPrice(BigDecimal prodPrice) {
        this.prodPrice = prodPrice;
        return this;
    }

    public int getKinds() {
        return kinds;
    }

    public Options setKinds(int kinds) {
        this.kinds = kinds;
        return this;
    }

    public String getRankIcon() {
        return rankIcon;
    }

    public Options setRankIcon(String rankIcon) {
        this.rankIcon = rankIcon;
        return this;
    }

    public BigDecimal getRankPrice() {
        return rankPrice;
    }

    public Options setRankPrice(BigDecimal rankPrice) {
        this.rankPrice = rankPrice;
        return this;
    }

    public boolean isOneValue() {
        return oneValue;
    }

    public Options setOneValue(boolean oneValue) {
        this.oneValue = oneValue;
        return this;
    }

    public int getInnerTypes() {
        return innerTypes;
    }

    public Options setInnerTypes(int innerTypes) {
        this.innerTypes = innerTypes;
        return this;
    }

    public int getMini() {
        return mini;
    }

    public Options setMini(int mini) {
        this.mini = mini;
        return this;
    }

    public int getMax() {
        return max;
    }

    public Options setMax(int max) {
        this.max = max;
        return this;
    }

    public int getInnerProds() {
        return innerProds;
    }

    public Options setInnerProds(int innerProds) {
        this.innerProds = innerProds;
        return this;
    }

    public int getBuyNum() {
        return buyNum;
    }

    public Options setBuyNum(int buyNum) {
        this.buyNum = buyNum;
        return this;
    }

    public int getTeBie() {
        return teBie;
    }

    public Options setTeBie(int teBie) {
        this.teBie = teBie;
        return this;
    }

    public boolean isLatest() {
        return latest;
    }

    public Options setLatest(boolean latest) {
        this.latest = latest;
        return this;
    }

    public int getTopNum() {
        return topNum;
    }

    public Options setTopNum(int topNum) {
        this.topNum = topNum;
        return this;
    }

    public int getBottomNum() {
        return bottomNum;
    }

    public Options setBottomNum(int bottomNum) {
        this.bottomNum = bottomNum;
        return this;
    }

    public int getMaxUse() {
        return maxUse;
    }

    public Options setMaxUse(int maxUse) {
        this.maxUse = maxUse;
        return this;
    }
}
